﻿
using System;
using UnityEngine;

public class DialouageManager:PersistentSingleton<DialouageManager>
{
    private DataManager<DialougeData> dialougeDataManager;
    protected override void Awake()
    {
        base.Awake();

        dialougeDataManager=new DataManager<DialougeData>();
        dialougeDataManager.LoadJson("Data/DialogueData.json");
    }

    public DialougeData GetData(int id)
    {
        return dialougeDataManager.GetData(id);
    }

}
